using System;
using ElevatorSpeeches.Framework;

namespace ElevatorSpeeches.UI.WebForms.Controls
{
    public partial class TopicList : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            SpeechTopicFlyWeight[] topics = SpeechTopicFlyWeight.GetTop();
            TopicListRepeater.DataSource = topics;
            TopicListRepeater.DataBind();
        }
    }
}